import 'package:flutter/material.dart';
import 'route/packer.dart';
class classPage extends StatelessWidget{
  Widget build(BuildContext context){
    return Center(
      
      child: Container(
        child: RaisedButton(
          onPressed: (){
            Navigator.of(context).push(
              MaterialPageRoute(builder: (context)=>packerPage("classPage传来的值"))
            );
          },
          child: Text("跳转路由"),
        ),
      ),
    );
  }
}